package com.wxl.www.wxl.shiro.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wxl.www.wxl.shiro.entity.SysPlatform;
import com.wxl.www.wxl.shiro.mapper.SysPlatformMapper;
import com.wxl.www.wxl.shiro.service.SystemInitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemInitServiceImpl extends ServiceImpl<SysPlatformMapper, SysPlatform> implements SystemInitService {

    @Autowired
    private SysPlatformMapper sysPlatformMapper;

    @Override
    public List<SysPlatform> finduiniByUser(String id) {
        return sysPlatformMapper.findByUserId(id);
    }
}
